package main 

import (

	"fmt"
)

func main(){

	a:=10
	b:=20

	a=a+b 
	b = a-b 
	a = a-b  

	fmt.Printf("a=%v,b=%v\n",a,b)

	fmt.Printf("a ddress=%v\n",&a)

	var x *int = &a 
	fmt.Printf("x=%v,x=%v\n",x,*x)

	var max int
	if a>b {
		max = a 
	}else {
		max = b 
	}

	fmt.Printf("max=%v\n",max)
}